<?php
/**
 * Created by PhpStorm.
 * User: fangwei
 * Date: 2019-08-21
 * Time: 16:59
 */

namespace App\Http\Repositories\Services;


use App\Http\Requests\Admin\ProductInputDTO;

interface IProduct
{

    public function byId($id);

    public function store(ProductInputDTO $inputDTO);

    public function update(ProductInputDTO $inputDTO,$id);

    public function delete($id);

    public function lists($search,$page,$size);

    public function state($id,$val);

    public function byProduct($search);

    public function pl();
}